home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / pgetppid.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  781 b   |  67 lines

  1.  
  2.  
  3.  
  4. Pgetppid(2)                Oct. 1, 1991               Pgetppid(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Pgetppid  -  get the process id for the parent of the cur-
  9.        rent process
  10.  
  11. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  12.        WORD Pgetppid();
  13.  
  14. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  15.        _✓P_✓g_✓e_✓t_✓p_✓p_✓i_✓d returns the process id of the parent of the  cur-
  16.        rently  running  process.  The process id is a positive 16
  17.        bit integer. The call is always successful.
  18.  
  19. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  20.        _✓P_✓g_✓e_✓t_✓p_✓g_✓r_✓p(2), _✓P_✓g_✓e_✓t_✓p_✓i_✓d(2)
  21.  
  22. N✓NO✓OT✓TE✓ES✓S
  23.        If the current process was started directly by the kernel,
  24.        then _✓P_✓g_✓e_✓t_✓p_✓p_✓i_✓d will return 0.
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.